package com.water.devtool.define;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.water.devtool.constant.BeanType;

@JsonIgnoreProperties(ignoreUnknown = true)
public class ClassBean extends DefineBean {
	protected String level;
	private String className;
	private String packageName;
	@JsonIgnore
	protected EntityBean entity;

	public void init() {

	}

	public String getLevel() {
		return level;
	}

	@Override
	@JsonIgnore
	public BeanType getType() {
		return BeanType.CLASS;
	}

	@Override
	public String getCode() {
		return level;
	}

	public String getClassName() {
		return className;
	}

	public void setClassName(String className) {
		this.className = className;
	}

	public String getPackageName() {
		return packageName;
	}

	public void setPackageName(String packageName) {
		this.packageName = packageName;
	}

	public EntityBean getEntity() {
		return entity;
	}

	public void setEntity(EntityBean entity) {
		this.entity = entity;
	}

	public void setLevel(String level) {
		this.level = level;
	}

}
